﻿using System.Web.Mvc;
using Uber.Core.Service;
using Uber.WebUI.Models;

namespace Uber.WebUI.Controllers
{
    [Authorize(Roles = "pro,seeker,nub")]
    public class GoldController : Controller
    {
        private readonly IAccounts s;

        public GoldController(IAccounts s)
        {
            this.s = s;
        }

        public ActionResult Index()
        {
            return View(new GoldDisplay
                            {
                                //Balance = s.GetGold(User.Identity.Name).ToString()
                            });
        }
    }
}